package com.sunyuechao.vhr.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import com.sunyuechao.vhr.system.HelloService;

/**
 * Created by SunYuechao on 2024/1/29 上午10:37
 */
@RestController
public class HelloController {
    @Autowired
    private HelloService helloService;
    @GetMapping("/hello")
    public String hello(){
        return helloService.hello();
    }
}
